<?php
/*
Copyright 2008, Nathalia


Author:
Nathalia Sautchuk Patrício          (nathalia.sautchuk@gmail.com)

*/
class InstituicaoRecord extends TActiveRecord
{
    const TABLE='Instituicao';
    public $InstituicaoID;
	public $Nome;
	public $Endereco;
	public $CEP;
	public $Cidade;
    public $Estado;
    public $Pais;
    public $Email;
    public $Site;
    public $Telefone;
    public $CNPJ;
 
    public static $RELATIONS=array
    (
        'usuarios' => array(self::HAS_MANY, 'UserRecord', 'InstituicaoID'),
    );

    public static function finder($className=__CLASS__)
    {
        return parent::finder($className);
    }
}
?>
